<extend name="base/index" />
	<block name="stylesheet">
		<!-- BEGIN 页面级插件 STYLES -->
		<link href="../../assets/global/plugins/bootstrap-daterangepicker/daterangepicker-bs3.css" rel="stylesheet" type="text/css"/>
		<link href="../../assets/global/plugins/fullcalendar/fullcalendar.min.css" rel="stylesheet" type="text/css"/>
		<link href="../../assets/global/plugins/jqvmap/jqvmap/jqvmap.css" rel="stylesheet" type="text/css"/>
		<!-- END 页面级插件 STYLES -->
		<!-- BEGIN 页面 STYLES -->
		<link href="../../assets/admin/pages/css/tasks.css" rel="stylesheet" type="text/css"/>
		<!-- END 页面 STYLES -->
	</block>
	<!-- 页面部分 -->
	<block name="content">
		<div class="page-content">
			<div class="container-fluid">
				<!-- 页面头部-->
				<div class="row-fluid">
					<div class="span12">
						<!-- 面包屑导航-->
						<h3 class="page-title">
							概况 <small>状态以及更多</small>
						</h3>

						<ul class="breadcrumb">
							<li>
								<i class="icon-home"></i>
									<a href="{:U('Admin/Index/index')}">后台首页</a> 
								<i class="icon-angle-right"></i>
							</li>

							<li><a href="#">仪表盘</a></li>

							<li class="pull-right no-text-shadow">
								<!--右浮动-->
							</li>
						</ul>
						<!-- END 面包屑导航-->
					</div>
				</div>
				<!-- END 页面头部-->

				<div id="dashboard">
					<!-- 主记录显示 -->				
					<div class="row-fluid">
						<!-- 用户量 -->
						<div class="span3 responsive" data-tablet="span6" data-desktop="span3">
							<div class="dashboard-stat green">
								<div class="visual">
									<i class="icon-group"></i>
								</div>
								<div class="details">
									<div class="number">549</div>
									<div class="desc">博客量</div>
								</div>
								<a class="more" href="#">查看更多 <i class="m-icon-swapright m-icon-white"></i></a>                 
							</div>
						</div>

						<!-- 评论量 -->
						<div class="span3 responsive" data-tablet="span6" data-desktop="span3">
							<div class="dashboard-stat blue">
								<div class="visual">
									<i class="icon-comments"></i>
								</div>
								<div class="details">
									<div class="number">
										1349
									</div>
									<div class="desc">                           
										评论量
									</div>
								</div>
								<a class="more" href="#">查看更多 <i class="m-icon-swapright m-icon-white"></i></a>                 
							</div>
						</div>

						<div class="span3 responsive" data-tablet="span6  fix-offset" data-desktop="span3">
							<div class="dashboard-stat purple">
								<div class="visual">
									<i class="icon-globe"></i>
								</div>
								<div class="details">
									<div class="number">+89%</div>
									<div class="desc">访问量</div>
								</div>
								<a class="more" href="#">查看记录 <i class="m-icon-swapright m-icon-white"></i></a>                 
							</div>
						</div>

						<div class="span3 responsive" data-tablet="span6" data-desktop="span3">
							<div class="dashboard-stat yellow">
								<div class="visual">
									<i class="icon-bar-chart"></i>
								</div>
								<div class="details">
									<div class="number">12,5M$</div>
									<div class="desc">Total Profit</div>
								</div>
								<a class="more" href="#">View more <i class="m-icon-swapright m-icon-white"></i></a>                 
							</div>
						</div>
					</div>
					<!-- END 主记录显示 -->

					<!-- 横隔空白 -->
					<div class="clearfix"></div>

					
					<div class="row-fluid">
						<!-- 总参与人数统计图-->				
						<div class="span6">
							<div class="portlet solid bordered light-grey">
								<div class="portlet-title">
									<div class="caption"><i class="icon-bar-chart"></i>访问评论统计统计图</div>
									<div class="tools">
										<div class="btn-group pull-right" data-toggle="buttons-radio">
											<a href="" class="btn mini">Users</a>
											<a href="" class="btn mini active">Feedbacks</a>
										</div>
									</div>
								</div>

								<div class="portlet-body">
									<div id="site_statistics_loading">
										<img src="__Public__/image/loading.gif" alt="loading" />
									</div>
									<div id="site_statistics_content" class="hide">
										<div id="site_statistics" class="chart"></div>
									</div>
								</div>
							</div>
						</div>
						<!-- END 总参与人数统计图-->
						
						<!-- 访问图表-->
						<div class="span6">
							<div class="portlet solid light-grey bordered">
								<div class="portlet-title">
									<div class="caption"><i class="icon-bullhorn"></i>访问统计图</div>
									<div class="tools">
										<div class="btn-group pull-right" data-toggle="buttons-radio">
											<a href="" class="btn blue mini active">刷新</a>
											<!--<a href="" class="btn blue mini">Orders</a>-->
										</div>
									</div>
								</div>
								<div class="portlet-body">
									<div id="site_activities_loading">
										<img src="__Public__/image/loading.gif" alt="loading" />
									</div>
									<div id="site_activities_content" class="hide">
										<div id="site_activities" style="height:100px;"></div>
									</div>
								</div>
							</div>
							<!-- END 访问统计图-->

							<!-- BEGIN PORTLET-->
							<div class="portlet solid bordered light-grey">
								<div class="portlet-title">
									<div class="caption"><i class="icon-signal"></i>模拟动态图</div>
									<div class="tools">
										<div class="btn-group pull-right" data-toggle="buttons-radio">
											<a href="" class="btn red mini active">刷新</a>
											<!--<span class="hidden-phone">Database</span>-->
											<!--<span class="visible-phone">DB</span></a>-->
										</div>
									</div>
								</div>
								<div class="portlet-body">
									<div id="load_statistics_loading">
										<img src="__Public__/image/loading.gif" alt="loading" />
									</div>
									<div id="load_statistics_content" class="hide">
										<div id="load_statistics" style="height:108px;"></div>
									</div>
								</div>
							</div>
						</div>
					</div>
					<!-- END 图表-->
					
					<div class="clearfix"></div>
					<div class="clearfix"></div>

					<!-- 文档通知 -->
					<div class="row-fluid">
						<!-- 文档-->
						<div class="span6">
							<div class="portlet paddingless">
								<div class="portlet-title line">
									<div class="caption"><i class="icon-bell"></i>文章</div>
									<div class="tools">
										<a href="" class="collapse"></a>
										<a href="#portlet-config" data-toggle="modal" class="config"></a>
										<a href="" class="reload"></a>
										<a href="" class="remove"></a>
									</div>
								</div>

								<div class="portlet-body">
									<!--BEGIN TABS-->
									<div class="tabbable tabbable-custom">
										<ul class="nav nav-tabs">
											<li class="active"><a href="#tab_1_1" data-toggle="tab">活动列表</a></li>
											<li><a href="#tab_1_2" data-toggle="tab">文章</a></li>
											<li><a href="#tab_1_3" data-toggle="tab">通知</a></li>
										</ul>
										
										<div class="tab-content">
											<div class="tab-pane active" id="tab_1_1">
												<div class="scroller" data-height="290px" data-always-visible="1" data-rail-visible="0">
													<ul class="feeds">
														<li>
															<div class="col1">
																<div class="cont">
																	<div class="cont-col1">
																		<div class="label label-success">                        
																			<i class="icon-bell"></i>
																		</div>
																	</div>
																	<div class="cont-col2">
																		<div class="desc">
																			You have 4 pending tasks.
																			<span class="label label-important label-mini">
																			Take action 
																			<i class="icon-share-alt"></i>
																			</span>
																		</div>
																	</div>
																</div>
															</div>
															<div class="col2">
																<div class="date">Just now
																</div>
															</div>
														</li>
														<li>
															<a href="#">
																<div class="col1">
																	<div class="cont">
																		<div class="cont-col1">
																			<div class="label label-success">                        
																				<i class="icon-bell"></i>
																			</div>
																		</div>
																		<div class="cont-col2">
																			<div class="desc">
																				New version v1.4 just lunched!   
																			</div>
																		</div>
																	</div>
																</div>
																<div class="col2">
																	<div class="date">
																		20 mins
																	</div>
																</div>
															</a>
														</li>
														<li>
															<div class="col1">
																<div class="cont">
																	<div class="cont-col1">
																		<div class="label label-important">                      
																			<i class="icon-bolt"></i>
																		</div>
																	</div>
																	<div class="cont-col2">
																		<div class="desc">
																			Database server #12 overloaded. Please fix the issue.                      
																		</div>
																	</div>
																</div>
															</div>
															<div class="col2">
																<div class="date">24 mins</div>
															</div>
														</li>

														<li>
															<div class="col1">
																<div class="cont">
																	<div class="cont-col1">
																		<div class="label label-success">                        
																			<i class="icon-bullhorn"></i>
																		</div>
																	</div>
																	<div class="cont-col2">
																		<div class="desc">
																			New order received. Please take care of it.                 
																		</div>
																	</div>
																</div>
															</div>
															<div class="col2">
																<div class="date">40 mins</div>
															</div>
														</li>

														<li>
															<div class="col1">
																<div class="cont">
																	<div class="cont-col1">
																		<div class="label label-info">                        
																			<i class="icon-bullhorn"></i>
																		</div>
																	</div>
																	<div class="cont-col2">
																		<div class="desc">
																			New order received. Please take care of it.                 
																		</div>
																	</div>
																</div>
															</div>
															<div class="col2">
																<div class="date">
																	22 hours
																</div>
															</div>
														</li>
													</ul>
												</div>
											</div>

											<div class="tab-pane" id="tab_1_2">

												<div class="scroller" data-height="290px" data-always-visible="1" data-rail-visible1="1">
													<ul class="feeds">
														<li>
															<a href="#">
																<div class="col1">
																	<div class="cont">
																		<div class="cont-col1">
																			<div class="label label-success">                        
																				<i class="icon-bell"></i>
																			</div>
																		</div>
																		<div class="cont-col2">
																			<div class="desc">New user registered</div>
																		</div>
																	</div>
																</div>
																<div class="col2">
																	<div class="date">
																		Just now
																	</div>
																</div>
															</a>
														</li>
														<li>
															<a href="#">
																<div class="col1">
																	<div class="cont">
																		<div class="cont-col1">
																			<div class="label label-success">                        
																				<i class="icon-bell"></i>
																			</div>
																		</div>
																		<div class="cont-col2">
																			<div class="desc">New order received </div>
																		</div>
																	</div>
																</div>
																<div class="col2">
																	<div class="date">10 mins</div>
																</div>
															</a>
														</li>

														<li>
															<div class="col1">
																<div class="cont">
																	<div class="cont-col1">
																		<div class="label label-important">                      
																			<i class="icon-bolt"></i>
																		</div>
																	</div>
																	<div class="cont-col2">
																		<div class="desc">
																			Order #24DOP4 has been rejected.    
																			<span class="label label-important label-mini">Take action <i class="icon-share-alt"></i></span>
																		</div>
																	</div>
																</div>
															</div>
															<div class="col2">
																<div class="date">
																	24 mins
																</div>
															</div>
														</li>
													</ul>
												</div>
											</div>

											<div class="tab-pane" id="tab_1_3">
												<div class="scroller" data-height="290px" data-always-visible="1" data-rail-visible1="1">
													<div class="row-fluid">
														<div class="span6 user-info">
															<img alt="" src="__Public__/image/avatar.png" />
															<div class="details">
																<div>
																	<a href="#">Robert Nilson</a> 
																	<span class="label label-success">Approved</span>
																</div>
																<div>29 Jan 2013 10:45AM</div>
															</div>
														</div>
														<div class="span6 user-info">
															<img alt="" src="__Public__/image/avatar.png" />
															<div class="details">
																<div>
																	<a href="#">Lisa Miller</a> 
																	<span class="label label-info">Pending</span>
																</div>
																<div>19 Jan 2013 10:45AM</div>
															</div>
														</div>
													</div>

													<div class="row-fluid">
														<div class="span6 user-info">
															<img alt="" src="__Public__/image/avatar.png" />
															<div class="details">
																<div>

																	<a href="#">Eric Kim</a> 

																	<span class="label label-info">Pending</span>

																</div>

																<div>19 Jan 2013 12:45PM</div>

															</div>

														</div>
														<div class="span6 user-info">
															<img alt="" src="__Public__/image/avatar.png" />
															<div class="details">
																<div>
																	<a href="#">Lisa Miller</a> 
																	<span class="label label-important">In progress</span>
																</div>
																<div>19 Jan 2013 11:55PM</div>
															</div>
														</div>
													</div>
												
												<!--END 用户列表-->
												</div>
											</div>
										</div>
									</div>
									<!--END TABS-->
								</div>
							</div>
						</div>
						<!--END 文章-->
						
						<!-- 聊天对话框-->
						<div class="span6">
							<div class="portlet">
								<div class="portlet-title line">
									<div class="caption"><i class="icon-comments"></i>管理员留言</div>
									<div class="tools">
										<a href="" class="collapse"></a>
										<a href="#portlet-config" data-toggle="modal" class="config"></a>
										<a href="" class="reload"></a>
										<a href="" class="remove"></a>
									</div>
								</div>

								<div class="portlet-body" id="chats">
									<div class="scroller" data-height="435px" data-always-visible="1" data-rail-visible1="1">
										<ul class="chats">
											<li class="in">
												<img class="avatar" alt="" src="__Public__/image/avatar1.jpg" />
												<div class="message">
													<span class="arrow"></span>
													<a href="#" class="name">dingdayu</a>
													<span class="datetime">at Jul 25, 2012 11:09</span>
													<span class="body">
													这是一个测试消息哦！
													</span>
												</div>
											</li>

											<li class="out">
												<img class="avatar" alt="" src="__Public__/image/avatar2.jpg" />
												<div class="message">
													<span class="arrow"></span>
													<a href="#" class="name">admin</a>
													<span class="datetime">at Jul 25, 2012 11:09</span>
													<span class="body">
													收到你的测试消息了！
													</span>
												</div>
											</li>
										</ul>
									</div>

									<div class="chat-form">
										<div class="input-cont">   
											<input class="m-wrap" type="text" placeholder="Type a message here..." />
										</div>
										<div class="btn-cont"> 
											<span class="arrow"></span>
											<a href="" class="btn blue icn-only"><i class="icon-ok icon-white"></i></a>
										</div>
									</div>
								</div>
							</div>
						</div>
						<!-- END 聊天对话框-->
					</div>
					<!-- END 文章和留言-->
					<div class="clearfix"></div>
				</div>
			</div>
		</div>
		<!-- 页面部分 -->
	</block>

	<block name="script">
		<script type="text/javascript" src="__Public__/js/index.js"></script>
		<script>
		jQuery(document).ready(function() {    
		   App.init(); // initlayout and core plugins
		   Index.init();
		   Index.initCharts(); // init index page's custom scripts
		   
		   //初始化聊天
		   Index.initChat();

		   //Index.initIntro();
		});
		</script>
	</block>